<%@ page import="com.news.model.Person" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>新闻人物</title>
  </head>
  <body>
    <table border="0" width="700" height="500" cellspacing="0" cellpadding="0" align="right">
      <tr>
        <td align="center">
          <table border="1" width="690" height="480" cellspacing="0" cellpadding="0" rules="rows">
            <tr>
              <td align="center">
                <%
                  Person p = (Person)session.getAttribute("person");
                  if(p != null){
                %>
                <table border="0" cellpadding="0" cellspacing="0" width="680" height="470">
                  <tr height="20"><td colspan="2"></td></tr>
                  <tr height="20">
                    <td align="left" style="text-indent: 20pt">姓名：</td>
                    <td align="left" width="400"><%=p.getPeople_name()%></td>
                  </tr>
                  <tr height="20"><td colspan="2"></td></tr>
                  <tr height="20">
                    <td align="left" style="text-indent: 20pt">年龄：</td>
                    <td align="left" width="400"><%=p.getPeople_age()%>岁</td>
                  </tr>
                  <tr height="20"><td colspan="2"></td></tr>
                  <tr height="20">
                    <td align="left" style="text-indent: 20pt">住址：</td>
                    <td align="left" width="400"><%=p.getPeople_address()%></td>
                  </tr>
                  <tr height="20"><td colspan="2"></td></tr>
                  <tr height="20">
                    <td align="left" style="text-indent:20pt">得票数：</td>
                    <td align="left" width="400"><%=p.getPeople_number()%>票</td>
                  </tr>
                  <tr height="20"><td colspan="2"></td></tr>
                  <tr height="20">
                    <td colspan="2" align="left" style="text-indent: 20pt">简介：</td>
                  </tr>
                  <tr height="20">
                    <td colspan="2"  align="center">
                      <textarea rows="10" cols="70" ><%=p.getPeople_remark()%></textarea>
                    </td>
                  </tr>
                  <tr height="20"><td colspan="2"></td></tr>
                </table>
                <%
                  }
                %>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>